<div class="memberships view">
<h2><?php  echo __('Membership'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($membership['Membership']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Contact'); ?></dt>
		<dd>
			<?php echo $this->Html->link($membership['Contact']['id'], array('controller' => 'contacts', 'action' => 'view', $membership['Contact']['id'])); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Date Joined'); ?></dt>
		<dd>
			<?php echo h($membership['Membership']['date_joined']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Expiry Date'); ?></dt>
		<dd>
			<?php echo h($membership['Membership']['expiry_date']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Renewal Needed'); ?></dt>
		<dd>
			<?php echo h($membership['Membership']['renewal_needed']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Amount'); ?></dt>
		<dd>
			<?php echo h($membership['Membership']['amount']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Communication'); ?></dt>
		<dd>
			<?php echo h($membership['Membership']['communication']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
      	<ul>

      		<li><?php echo $this->Html->link(__('Back'), array('action' => 'index')); ?></li>
      		<li><?php echo $this->Html->link(__('Edit'), array('action' => 'edit')); ?></li>
      		<li><?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $membership['Membership']['id']), null, __('Are you sure you want to delete '.$membership['Contact']['id'].' ?')); ?></li>
      		<li><?php echo $this->Html->link(__('New User'), array('action' => 'add')); ?></li>
      	</ul>
      </div>
